<template>
  <div v-if="show" style="text-align: center">
    <a-form :label-col="{ span: 6 }" :wrapper-col="{ span: 12 }" style="text-align: center">
      <a-row>
        <a-col :span="12">
          <a-form-item label="客户姓名">
            <a-input v-model="data.name" disabled />
          </a-form-item>
          <a-form-item label="签约金额">
            <a-input v-model="data.money" disabled />
          </a-form-item>
          <a-form-item label="签约时间">
            <a-input v-model="data.decidesTime" disabled />
          </a-form-item>
          <a-form-item label="经办人">
            <a-input v-model="data.createBy" disabled />
          </a-form-item>
          <a-form-item label="项目地址">
            <a-textarea v-model="data.address" :rows="3" disabled />
          </a-form-item>
        </a-col>
        <a-col :span="12">
          <a-form-item label="开工时间">
            <a-input v-model="data.commencementDate" disabled />
          </a-form-item>
          <a-form-item label="竣工时间">
            <a-input v-model="data.CompletionDate" disabled />
          </a-form-item>
          <a-form-item label="房屋户型">
            <j-dict-select-tag
              placeholder="请选择房屋户型"
              dictCode="customer_info_house_type"
              v-model="data.houseType"
              disabled
            />
          </a-form-item>
          <a-form-item label="房屋面积">
            <a-input v-model="data.houseArea" disabled />
          </a-form-item>
        </a-col>
      </a-row>
    </a-form>
  </div>
</template>
<script>
  import { getAction } from '@/api/manage'
  export default {
    name: "CustomerContract",
    components: {
    },
    data() {
      return {
        data: {},
        show: false,
        url: {
          getContractById: '/ghDepositPay/getById',
        }
      }
    },
    methods: {
      initData(params) {
        getAction(this.url.getContractById, params).then(res => {
          if (res.success) {
            this.data = res.result;
          }
        });
      }
    }
  }
</script>
<style>

</style>